﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using BussinessLogicTecnoPez.Produccion.FaenamientoEnvasado;
using WebUtils.Controls;

public partial class Modules_FaenamientoEnvasado_SeguimientoLoteFaenamiento : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        TPPLoteFaenamiento.ObjType = typeof(LoteDeFaenamiento);
        GenericMasterPage master = (GenericMasterPage)this.Master;
        master.Imagen = "../Styles/Icons/wordprocessing.png";
        master.Titulo = "Informe de seguimiento de lote de faenamiento y envasado";
    }
    protected void cmdGenerar_Click(object sender, EventArgs e)
    {
        visorDeReportes vr = new visorDeReportes();

        vr.archivoReporte = new rptSeguimientoLoteFaenamiento();
        vr.paradescript = "";
        vr.paravalor = "";
        vr.selectionFormula = "{LOTESFAENAMIENTO.IDLOTEFAENAMIENTO}=" + (TPPLoteFaenamiento.ItemSelected as LoteDeFaenamiento).IdLoteFaeamiento;
        vr.verReporte(Page);
    }
}
